package com.fanrui.code.entity;

import java.io.Serializable;

import com.fanrui.code.common.annotation.ConfigFile;
import com.fanrui.code.db.jvmdb.IPersistable;

/**
 * @author 
 */
@ConfigFile
public class FamilyJob implements Serializable,IPersistable<Integer> {
    private Integer id;

    /**
     * 职位名称
     */
    private String jobName;

    /**
     * 职位拥有的权限能力 为,号隔开的数组   权限枚举  1 解散家族 2 修改公告 3 修改信息 4 踢出成员 5修改职务
     */
    private String jobCompetence;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getJobCompetence() {
        return jobCompetence;
    }

    public void setJobCompetence(String jobCompetence) {
        this.jobCompetence = jobCompetence;
    }

	@Override
	public void setPersistKey(Integer id) {
		this.id = id;
	}

	@Override
	public Integer getPersistKey() {
		return id;
	}
}